package com.twl.app.base.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.twl.common.entity.Customer;
/**
 * 保险单位金
 * @author uatzhangxc
 *
 */
@SuppressWarnings("serial")
@Entity
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true)
@Table(name = "Secureunit")
@SequenceGenerator(name = "instance_sequence", sequenceName = "seq_Secureunit_id", allocationSize = 1)
public class Secureunit extends Customer implements Serializable{
 
	private String households;//户口类型
	private BigDecimal cardinaldou;//基数
	private Double scalingint;//比例
	private String amountdou;  //对应的值
	private String datemoney;  //期间
	private Integer judgeint;	//0.公积金单位 1.养老保险单位2.医疗保险单位 3.失业保险单位 4.工伤保险单位 5.生育保险单位
	private String desKey;// 密钥
	
	@Column(name = "Des_Key" )
	public String getDesKey() {
		return desKey;
	}

	public void setDesKey(String desKey) {
		this.desKey = desKey;
	}
	
	public Secureunit() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Secureunit(String households, BigDecimal cardinaldou, Double scalingint,
			String amountdou, String datemoney, Integer judgeint) {
		super();
		this.households = households;
		this.cardinaldou = cardinaldou;
		this.scalingint = scalingint;
		this.amountdou = amountdou;
		this.datemoney = datemoney;
		this.judgeint = judgeint;
	}
	
	@Column(name="households")
	public String getHouseholds() {
		return households;
	}
	public void setHouseholds(String households) {
		this.households = households;
	}
	@Column(name="cardinaldou")
	public BigDecimal getCardinaldou() {
		return cardinaldou;
	}
	public void setCardinaldou(BigDecimal cardinaldou) {
		this.cardinaldou = cardinaldou;
	}
	@Column(name="scalingint")
	public Double getScalingint() {
		return scalingint;
	}
	public void setScalingint(Double scalingint) {
		this.scalingint = scalingint;
	}
	@Column(name="amountdou")
	public String getAmountdou() {
		return amountdou;
	}
	public void setAmountdou(String amountdou) {
		this.amountdou = amountdou;
	}
	@Column(name="datemoney")
	public String getDatemoney() {
		return datemoney;
	}
	public void setDatemoney(String datemoney) {
		this.datemoney = datemoney;
	}
	@Column(name="judgeint")
	public Integer getJudgeint() {
		return judgeint;
	}
	public void setJudgeint(Integer judgeint) {
		this.judgeint = judgeint;
	}
	
	
	
}
